import request from '@/plugins/axios/request';
const baseURL = process.env.VUE_APP_BASE_API;

// 需求列表
export function getRequirement(data) {
  return request({
    url: `${baseURL}/tech-requirement/getList`,
    method: 'POST',
    data: data
  })
}
// 新增需求列表
export function addRequirement(data) {
  return request({
    url: `${baseURL}/tech-requirement/add`,
    method: 'POST',
    data: data
  })
}
// 编辑需求列表
export function updateRequirement(data) {
  return request({
    url: `${baseURL}/tech-requirement/update`,
    method: 'POST',
    data: data
  })
}
// 删除
export function deletes(data) {
  return request({
    url: `${baseURL}/tech-requirement/delete`,
    method: 'POST',
    data: data
  })
}